<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/7
 * Time: 11:11
 */

namespace app\admin\controller;

use app\admin\model\UserReport as UserReportModel;
class UserReport extends Index
{

    //举报人列表
    public function index()
    {
        return view();
    }

    //举报人列表数据
    public function indexData()
    {
        $userReportModel = new UserReportModel();
        $data = $userReportModel->indexData();
        // dump($data);
        return json($data);
    }

    //举报人信息
    public function lookUser()
    {
        $userReportModel = new UserReportModel();
        $data = $userReportModel->lookUser();
        return view()->assign('data',$data);
    }



}